<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
[#include "/admin/include/head.htm"]
    <style type="">
        .imagePreview {
            background-color: red;
            color: white;
        }
    </style>
    <script type="text/javascript">
        var grid;
        function f_export_loan(){
            $("#exportForm").submit();
        }
        function f_verify(id){
            top.f_addTab(null, '充值审核', base+'/admin/recharge/'+id+'.aspx');
        }
        $(function(){
            grid = $("#maingrid").ligerGrid({
                columns: [
                    {hide: true, name: 'path'},
                    {display: '用户名', name: 'user_name', align: 'center', width: 200 },
                    {display: '真实姓名', name: 'real_name', align: 'center', width: 100 },
                    {display: '投资金额', name: 'account', align: 'center', width: 120 },
                    {display: '投资待收', name: 'wait_account', align: 'center', width: 100 },
                    {display: '客服名称', name: 'name', align: 'center', width: 100 }
                ],  pageSize:20, url: 'getkhtjData.aspx',toolbar: {}, width: '100%', height:'100%', enabledSort: true
            });

            $(".l-toolbar").ligerToolBar({ items: [

                { text: '导出', click: f_export_loan }
            ]
            });
            //绑定搜索按钮
            LG.search(grid);
        });

    </script>
</head>
<body style="padding:10px; overflow:hidden;">
<div id="functions">
    <div class="clearfix">
        <div style="float:left;">
            <form id="exportForm" method="post" action="${path}/admin/account/exportgetkhtj.aspx">
                 <span>
					类型:  [@u.select list={"":"全部","0":"月","1":"天"}
                 name="is_day" value="${(is_day)!''}" /]
			</span>
            <span>
					 用户名：：  <input type="text" name="userName" value="${userName}"/>
			</span>
              <span>
					   真实姓名： <input type="text" name="realname" value="${realname}"/>
			</span>
			</span>
                日期：<input type="text" id="begin_date" name="begin_date"
                          class="formText WdatePicker {dateFmt:'yyyy-MM-dd'}" />
                -
                <input type="text" id="endDate" name="end_date"
                       class="formText WdatePicker {dateFmt:'yyyy-MM-dd'}" />
                <input type="button" class="button" value="搜索" id="search"/>
                <a href="#" id="search_btn_reset" face="Wingdings 3">清除本次搜索</a>

            </form>
        </div>
    </div>
</div>

<div id="maingrid" style="margin:0; padding:0"></div>
</body>
</html>